home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 30
/
Aminet 30 (1999)(Schatztruhe)[!][Apr 1999].iso
/
Aminet
/
util
/
cli
/
CDR1_14.lha
/
CDR1.14
/
CDR.doc
< prev
next >
Wrap
Text File
|
1995-09-04
|
4KB
|
127 lines
**********************************************************************
* *
* CDR 1.14 *
* *
* by Luca Carminati *
* *
**********************************************************************
Introduction
¯¯¯¯¯¯¯¯¯¯¯¯
CDR is an AmigaDOS Shell script for changing the current directory through a
file requester. It also accepts options which allow you to 'Dir' or 'List'
the directory you select or to assign it to any logical device (it can be
useful for testing a new program without installing the files contained in
that directory). Another option lets you revert to the directory you
previously selected without opening the file requester.
System requirements
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
CDR requires Kickstart 3.0+, the AmigaDOS Execute, FileRequest, Dir, List,
Assign and Eval commands in the C: directory and the asl.library in the
LIBS: directory.
Installation
¯¯¯¯¯¯¯¯¯¯¯¯
To install CDR, simply copy the script to any directory of your choice (I
suggest the S: directory).
Note: make sure the script has the 'S' protection bit set.
Usage
¯¯¯¯¯
CDR can be started from a Shell window in one of the following ways:
CDR = A file requester appears. Select the directory you want to
become the current directory.
CDR D = The directory selected from the file requester will also be
'Dir'ed.
CDR L = The directory selected from the file requester will also be
'List'ed.
CDR A = The directory selected from the file requester will also be
assigned to the logical device having the name of the
directory itself. For example, if you select the
'Work:Temp/SupaGaim' directory, it will be assigned to
the 'SupaGaim:' logical device.
CDR A <dev> = The directory selected from the file requester will also be
assigned to the logical device specified by <dev> (it must
end with a ':' character).
CDR AL = The directory selected from the file requester will also be
assigned to the LIBS: logical device.
CDR AD = The directory selected from the file requester will also be
assigned to the DEVS: logical device.
CDR AF = The directory selected from the file requester will also be
assigned to the FONTS: logical device.
CDR P = It reverts to the directory you previously selected (in
this case, the file requester is not opened). If you
changed directory without using CDR, it reverts to the last
directory you selected.
Author
¯¯¯¯¯¯
Luca Carminati
Via Fratelli Urbani, 1
24016 San Pellegrino Terme (BG)
ITALY
E-mail: toffi@spm.it
If you think CDR is useful, let me know by sending me a postcard or an
e-mail message.
Acknowledgements
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
I must thank Chris Eburn for tricks and suggestions.
History
¯¯¯¯¯¯¯
1.0 - First release.
1.1 - Added the 'D', 'L', 'AL', 'AF' and 'P' options.
1.11 - Added the 'AD' option.
- There were problems with path names including space characters.
1.12 - Changed the title of the file requester from 'Select File' to
'Select a directory'.
- Some other minor changes.
1.13 - Added the 'A' option.
- Some other minor changes.
1.14 - Now the 'A' option allows you to assign the directory you select
from the file requester to the logical device having the name of
the directory itself. For example, if you select the
'Work:Temp/SupaGaim' directory, it will be assigned to the
the 'SupaGaim:' logical device.
- Now the 'P' option allows you to revert to the last directory you
selected in case you changed directory without using CDR.
- Some other minor changes.